package com.ruoyi.district.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区管理对象 district
 * 
 * @author ruoyi
 * @date 2024-10-10
 */
public class District extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区id */
    private Long districtId;

    /** 所处区 */
    @Excel(name = "所处区")
    private String districtName;

    /** 所处市 */
    @Excel(name = "所处市")
    private Long cityId;

    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("cityId", getCityId())
            .toString();
    }
}
